@import './config.less';

.index {
    .container {
		  width: 400px;
		  height: 300px;
		  background-color: #DCDCDC;
		  overflow: scroll; /* 让它显示滚动条 */
    }
    .barrage-box {
        width: 500px;
        height: 400px;
        background-color: #ccc;
        // position: fixed;
        // margin-right: 50%;
        // margin-top: 50%;
        // transform: translate(-50%, -50%);
        .barrage {
            width: 100%;
            height: 100px;
            border-radius: 10px;
            background: #ddd;
            display: flex;
            flex-direction: row;
            align-items: center;
            .avatar {
                width: 80px;
                height: 80px;
                margin-right: 20px;
                .avatar-img {
                    width: 100%;
                    height: 100%;
                }
            }
            .gift-pic {
                width: 80px;
                height: 80px;
                .gift-img {
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}